import { defHttp } from './http/axios';

export async function getReminderInfo(type: string) {
  return await defHttp.post(
    {
      url: '/agent/newOrderReminder/Reminder',
      data: {
        type,
      },
    },
    { errorMessageMode: 'none' },
  );
}

export async function getNotifyList(params: { event: number }) {
  return await defHttp.post(
    {
      url: '/agent/Message/index',
      data: params,
    },
    {
      errorMessageMode: 'none',
    },
  );
}
